/*
 * @Author: hmhvictory 1400628624@qq.com
 * @Date: 2025-08-01 16:05:10
 * @LastEditors: hmhvictory 1400628624@qq.com
 * @LastEditTime: 2025-08-01 16:05:13
 * @FilePath: \Gitee实训笔记\day15\Homework\test01\test02\Manage.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day15.test02;

// 经理类
class Manager extends Employee {
    private double fixedSalary;

    public Manager(String name, String gender, String birthDate, double fixedSalary) {
        super(name, gender, birthDate);
        this.fixedSalary = fixedSalary;
    }

    @Override
    public void computeSalary() {
        System.out.println("经理 " + getName() + " 本月工资为 " + fixedSalary + " 元。");
    }
}
